package cn.hp.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;


@Controller		//跳转页面，跳转到html页面
@RequestMapping("/main")
public class MainController {

	@RequestMapping("/hello")
	public String hello() {
		return "hello";
	}
	
	
}
